package com.rz.admin.controller;

import com.rz.admin.entity.SysDict;
import com.rz.admin.service.ICountryService;
import com.rz.admin.service.impl.SysDictServiceImpl;
import com.rz.core.kit.RespKit;
import com.rz.core.resp.ResultResp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @ClassName CountryController
 * @Description 国家/地区controller
 * @Author maweiyue
 * @Date 2019/3/26 20:37
 */
@RestController
@RequestMapping("/country")
public class CountryController {
    @Autowired
    private ICountryService countryService;

    @PostMapping("selectCountries")
    public ResultResp selectCountries() {
        return RespKit.success(countryService.selectCountries());
    }

}

